package com.pj.project.model.mapper;

import com.pj.project.model.pojo.SpCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author hanwu
* @description 针对表【sp_category(目录表)】的数据库操作Mapper
* @createDate 2022-12-18 13:19:29
* @Entity com.pj.project.model.pojo.SpCategory
*/
@Mapper
public interface SpCategoryMapper extends BaseMapper<SpCategory> {

    List<SpCategory> selectCategoriesByParentId(Long parentId,Long roleId);
}




